package com.lixw.config;

import org.springframework.context.annotation.*;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestControllerAdvice;

/**
 * @ClassName: SpringAppConfig
 * @Description: 这是Spring父容器的主配置类,通常一般不需要做什么事情,基本的整合即可
 * @Author: xuweiLi
 * @Create: 2025/6/25 07:56
 **/
@Configuration
@EnableAspectJAutoProxy
@Import({MybatisConfig.class})
@ComponentScan(value = "com.lixw",
        excludeFilters = {
            @ComponentScan.Filter(type = FilterType.ANNOTATION, value = {Controller.class}),
            @ComponentScan.Filter(type = FilterType.ANNOTATION, value = {RestControllerAdvice.class})
})
public class RootConfig {

}